package com.jic.manager.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.entity.Sensitive;
import com.jic.conf.request.SensitiveRequest;

import java.util.List;


/**
* 评论敏感词库表
* @author : 
* @email : 
* @since : 2020-02-06 02:21:47
* @version : v1.0.0
*/
public interface SensitiveService {

    long insert(SensitiveRequest sensitive);

    long delete(Long id);

    long update(SensitiveRequest sensitive);

    Sensitive queryByPrimaryKey(Long id);

    List<Sensitive> query(Sensitive sensitive);

    PageResult<Sensitive> queryPage(SensitiveRequest sensitive, Page page);

}